import Vue from 'vue'

//导入mint-ui
import Mint from 'mint-ui';
import '../node_modules/mint-ui/lib/style.css'
Vue.use(Mint);


//导入路由
import vueRouter from 'vue-router'
Vue.use(vueRouter)

//导入vue-resource
import vueResource from 'vue-resource'
Vue.use(vueResource)

//导入mui相关资源样式
import '../lib/mui/css/mui.css'
import '../lib/mui/css/icons-extra.css'
import '../lib/mui/fonts/mui-icons-extra.ttf'

//导入入口文件
import App from './App.vue'


// 导入路由适配器
import router from './routers/routers.js'


new Vue({
  el: '#app',
  render: h => h(App),
  router
})
